import request from '@/utils/request'

const pref = '/sysPortal'

export const save = (param) => {
  return request.post(pref, param)
}

export const getDefaultSysPortal = () => {
  return request.get(pref + '/getDefaultSysPortal')
}

export const getOne = (id) => {
  return request.get(pref + '?id=' + id)
}
